gtk4.git
10 years agodocs: Add a note about button 4 & 5
Matthias Clasen [Sat, 2 May 2015 15:55:00 +0000 (11:55 -0400)]
docs: Add a note about button 4 & 5

10 years agoxi2: Don't set button mask 4 and 5
Matthias Clasen [Sat, 2 May 2015 15:51:38 +0000 (11:51 -0400)]
xi2: Don't set button mask 4 and 5

We interpret buttons 4-7 as old-school scroll events, so it does
not make sense to add these to the mask. Also fix an off-by-one
in the loop here, buttons_mask is 1-based.

10 years agoGtkAboutDialog: Make credits section keyboard navigatable
Matthias Clasen [Sat, 2 May 2015 14:42:15 +0000 (10:42 -0400)]
GtkAboutDialog: Make credits section keyboard navigatable

Its the right thing to do.

10 years agoGtkAboutDialog: Fix some focus issues
Matthias Clasen [Sat, 2 May 2015 14:26:07 +0000 (10:26 -0400)]
GtkAboutDialog: Fix some focus issues

Making a container focusable is rarely the right thing to do.
It typically breaks the focus chain, and makes the container
contents unfocusable, as was the case here.

10 years agogtk-builder-tool: Add more exceptions
Matthias Clasen [Sat, 2 May 2015 14:16:55 +0000 (10:16 -0400)]
gtk-builder-tool: Add more exceptions

10 years agogtk-builder-tool: Improve docs
Matthias Clasen [Sat, 2 May 2015 14:12:54 +0000 (10:12 -0400)]
gtk-builder-tool: Improve docs

10 years agoinspector/misc-info: Fix typo
Timm Bäder [Sat, 2 May 2015 15:14:38 +0000 (17:14 +0200)]
inspector/misc-info: Fix typo

10 years agoUpdated Occitan translation
Cédric Valmary [Sat, 2 May 2015 15:24:35 +0000 (15:24 +0000)]
Updated Occitan translation

10 years agogtk-builder-tool: Start an exception list
Matthias Clasen [Sat, 2 May 2015 11:35:35 +0000 (07:35 -0400)]
gtk-builder-tool: Start an exception list

We have a number of cases where properties should have their
default value overridden in a subclass, but haven't because thats
annoying to do. We also have properties where the absence of
an explicit value has context-dependent meaning.
Add a list of exceptions for these cases.

10 years agoFix another ordering issue
Matthias Clasen [Sat, 2 May 2015 06:48:19 +0000 (02:48 -0400)]
Fix another ordering issue

10 years agoGtkPlacesSidebar: Use a popover for renaming bookmarks
Matthias Clasen [Sat, 2 May 2015 06:42:25 +0000 (02:42 -0400)]
GtkPlacesSidebar: Use a popover for renaming bookmarks

This is following the example in gnome-builder.

10 years agoGtkFileChooser: Fix an ordering issue
Matthias Clasen [Sat, 2 May 2015 05:04:01 +0000 (01:04 -0400)]
GtkFileChooser: Fix an ordering issue

The previous commit removed default-valued properties,
but apparently that has a negative effect for grid
packing properties, so put the explicit value back.

10 years agoGtkFileChooser: Indicate if search comes up empty
Matthias Clasen [Sat, 2 May 2015 03:04:35 +0000 (23:04 -0400)]
GtkFileChooser: Indicate if search comes up empty

This is a neice touch and helps to understand what
is going on.

10 years agoGtkSearchEngine: Use all search engines
Matthias Clasen [Fri, 1 May 2015 19:34:08 +0000 (15:34 -0400)]
GtkSearchEngine: Use all search engines

Just using tracker does not work well if you are searching in
non-indexed locations, such as git checkouts or network mounts.

Ideally, we'd decide the 'best' engine to use for each location.
Since that is not easy to do, just run them in parallel for now,
which is the same strategy that nautilus uses.

10 years agoRewrite simple search engine to use GFile and breadth order
Руслан Ижбулатов [Thu, 30 Apr 2015 17:46:27 +0000 (17:46 +0000)]
Rewrite simple search engine to use GFile and breadth order

https://bugzilla.gnome.org/show_bug.cgi?id=746916

10 years agoGtkSearchEngine: Drop unused functionality
Matthias Clasen [Fri, 1 May 2015 16:44:11 +0000 (12:44 -0400)]
GtkSearchEngine: Drop unused functionality

10 years agowin32: Support the decimal point on the keypad
Matthias Clasen [Fri, 1 May 2015 11:03:49 +0000 (07:03 -0400)]
win32: Support the decimal point on the keypad

Based on a patch by John Emmas.

10 years agoUpdate properties Hebrew translation
Yosef Or Boczko [Fri, 1 May 2015 08:14:58 +0000 (11:14 +0300)]
Update properties Hebrew translation

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Fri, 1 May 2015 08:14:37 +0000 (11:14 +0300)]
Updated Hebrew translation

10 years agoDrop a redundant call
Matthias Clasen [Fri, 1 May 2015 02:42:49 +0000 (22:42 -0400)]
Drop a redundant call

g_thread_supported() is always TRUE nowadays, so drop the call.

10 years agoGtkFileChooser: Use a better busy cursor
Matthias Clasen [Fri, 1 May 2015 02:40:45 +0000 (22:40 -0400)]
GtkFileChooser: Use a better busy cursor

It is possible to interact with the file chooser while
things are loading, so use a cursor that indicates this,
if we have one.

10 years agoFix use-after-free in gdk_window_end_paint()
Руслан Ижбулатов [Thu, 30 Apr 2015 20:43:18 +0000 (20:43 +0000)]
Fix use-after-free in gdk_window_end_paint()

It's a miracle that this code ever worked.

10 years agoUpdated POTFILES.in and POTFILES.skip
Piotr Drąg [Thu, 30 Apr 2015 17:13:22 +0000 (19:13 +0200)]
Updated POTFILES.in and POTFILES.skip

10 years agomir: fix build failure due to changed api
William Hua [Thu, 30 Apr 2015 16:41:33 +0000 (12:41 -0400)]
mir: fix build failure due to changed api

10 years agoAdwaita: remove duplicated selector.
Lapo Calamandrei [Thu, 30 Apr 2015 12:37:59 +0000 (14:37 +0200)]
Adwaita: remove duplicated selector.

10 years agogdkglcontext-win32.c: Remove Obsolete Comments
Chun-wei Fan [Thu, 30 Apr 2015 11:46:56 +0000 (19:46 +0800)]
gdkglcontext-win32.c: Remove Obsolete Comments

We now have proper checks for gdk_screen_is_composited() and a proper
implementation for gdk_screen_get_rgba_visual() for Windows, so we
can remove the comments in this file stating that they aren't
available for Windows.

10 years agoFix the build
Matthias Clasen [Thu, 30 Apr 2015 11:46:18 +0000 (07:46 -0400)]
Fix the build

10 years agogtk-builder-tool: Add an enumerate command
Matthias Clasen [Thu, 30 Apr 2015 11:11:49 +0000 (07:11 -0400)]
gtk-builder-tool: Add an enumerate command

This lists all the named objects from the .ui file.

10 years agogtk-builder-tool: Validate templates
Matthias Clasen [Thu, 30 Apr 2015 05:18:48 +0000 (01:18 -0400)]
gtk-builder-tool: Validate templates

Catch an error that indicates the file looks like a template,
and then try again, this time with the template parsing API
of GtkBuilder. This is a little iffy, since we need to create
a 'fake' type and instance to pass in, but it works ok in
simple tests.

10 years agoGtkBuilder: Emit a more detailed error for templates
Matthias Clasen [Thu, 30 Apr 2015 05:21:26 +0000 (01:21 -0400)]
GtkBuilder: Emit a more detailed error for templates

Add the class and parent class name to the error message.
gtk-builder-tool will parse the error message and use the
class names for trying again to parse the file as a template.

10 years agoGtkBuilder: Export the template parsing entry point
Matthias Clasen [Thu, 30 Apr 2015 05:18:09 +0000 (01:18 -0400)]
GtkBuilder: Export the template parsing entry point

This will let gtk-builder-tool validate templates.

10 years agoAdjust tests
Matthias Clasen [Thu, 30 Apr 2015 03:55:59 +0000 (23:55 -0400)]
Adjust tests

10 years agoConvert more GtkBuilder to g_markup_collect_attributes
Matthias Clasen [Thu, 30 Apr 2015 03:55:07 +0000 (23:55 -0400)]
Convert more GtkBuilder to g_markup_collect_attributes

The core parser itself was left, so handle it as well.

10 years agoFormatting fixes
Matthias Clasen [Thu, 30 Apr 2015 01:52:18 +0000 (21:52 -0400)]
Formatting fixes

10 years agowayland: Don't send bogus values for cursor surface buffer/scale
Alexander Larsson [Thu, 30 Apr 2015 08:26:52 +0000 (10:26 +0200)]
wayland: Don't send bogus values for cursor surface buffer/scale

I was getting really weird values for scale for the blank cursor used
when hiding the cursor in a GtkEntry when typing, this was caused
by gdk_wayland_device_update_window_cursor sending random values
when the returned buffer was NULL.

We fix this by just not sending any buffer or scale updates in this
case.

10 years agoGDK-W32: remove trailing whitespace everywhere
Руслан Ижбулатов [Wed, 29 Apr 2015 07:31:08 +0000 (07:31 +0000)]
GDK-W32: remove trailing whitespace everywhere

10 years agoW32: bump _WIN32_WINNT and WINVER to 0x600 (Vista)
Руслан Ижбулатов [Wed, 29 Apr 2015 07:24:35 +0000 (07:24 +0000)]
W32: bump _WIN32_WINNT and WINVER to 0x600 (Vista)

Move gdkprivate-win32.h include to ensure that this change affects gdkevents-win32.c

10 years agoEnable RGBA windows on W32
Руслан Ижбулатов [Wed, 22 Apr 2015 19:10:55 +0000 (19:10 +0000)]
Enable RGBA windows on W32

Requires Vista and newer.

* Create surfaces with cairo_win32_surface_create_with_format
* Provide an rgba visual that can be distinguished from the system visual
* Make rgba visual the best available visual
* Enable alpha-transparency for all windows that we control
* Check for appropriate cairo capabilities at configure time
  (W32 - 1.14.3 newer than 2015-04-14; others - 1.14.0)

* Check for composition support before enabling CSDs
* Re-enable transparency on WM_DWMCOMPOSITIONCHANGED
Windows that were created while composition was enabled and that were CSDed
as a result and will look ugly (thick black borders or no borders at all) once
composition is disabled.
If composition is enabled afterwards, they will return back to normal.
This happens, for example, when RDP session is opened to a desktop where a GTK
application is running. For W7/Vista windows will only re-gain transparency after
the RDP session is closed. For W8 transparency will only be gone momentarily.

Windows that were created while composition was disabled will not be CSDed
automatically and will use SSD (WM decorations), while windows that are CSDed
manually will get a thin square border.
If composition is enabled afterwards, these windows will not change.
This is most noticeable for system menus (popup menus are often generated
on the fly, system menus are created once) and some dialogues (About dialogue,
for example).

https://bugzilla.gnome.org/show_bug.cgi?id=727316

10 years agoTest the new error conditions
Matthias Clasen [Wed, 29 Apr 2015 19:20:51 +0000 (15:20 -0400)]
Test the new error conditions

10 years agoGtkBuilder: Report more lookup failures as GError
Matthias Clasen [Wed, 29 Apr 2015 19:19:31 +0000 (15:19 -0400)]
GtkBuilder: Report more lookup failures as GError

Report failures to lookup objects for property values
and bindings via GError too, and provide location information
while doing so.

https://bugzilla.gnome.org/show_bug.cgi?id=748234

10 years agoFix inclusion of examples in docs in non-srcdir builds
Matthias Clasen [Wed, 29 Apr 2015 18:04:26 +0000 (14:04 -0400)]
Fix inclusion of examples in docs in non-srcdir builds

This is a bit messy, since xsltproc insists on stripping relative
paths to the basename before consulting the paths.

https://bugzilla.gnome.org/show_bug.cgi?id=748640

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Wed, 29 Apr 2015 11:28:49 +0000 (14:28 +0300)]
Updated Hebrew translation

10 years ago3.17.1
Matthias Clasen [Tue, 28 Apr 2015 12:38:56 +0000 (08:38 -0400)]
3.17.1

10 years agoFix distcheck
Matthias Clasen [Tue, 28 Apr 2015 14:12:21 +0000 (10:12 -0400)]
Fix distcheck

10 years agoMakefile-newvs: some .vcxproj.filters files are in builddir, some in srcdir
Simon McVittie [Mon, 20 Apr 2015 13:54:28 +0000 (14:54 +0100)]
Makefile-newvs: some .vcxproj.filters files are in builddir, some in srcdir

Without this change, out-of-tree distcheck doesn't get very far.

Similarly, allow *.vcxproj, *.props to be in either the builddir or
the srcdir.

Finally, since I'm touching these lines anyway, eliminate some
useless uses of cat: "cat x | sed 's/foo/bar/' > y" is
equivalent to "sed 's/foo/bar/' < x > y".

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748176
Reviewed-by: Chun-wei Fan <fanchunwei@src.gnome.org>
10 years agoAdwaita: .title and .subtitle paddings
Lapo Calamandrei [Tue, 28 Apr 2015 14:52:46 +0000 (16:52 +0200)]
Adwaita: .title and .subtitle paddings

Only set side paddings for title and subtitle classes, we had 0
vertical padding set there, no idea why, so let's find out...

10 years agogtk-builder-tool: Separate commands
Matthias Clasen [Tue, 28 Apr 2015 03:31:03 +0000 (23:31 -0400)]
gtk-builder-tool: Separate commands

Add separate commands for validation and simplification.

10 years agoGtkWindow: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 03:08:43 +0000 (23:08 -0400)]
GtkWindow: Use _gtk_builder_lookup_object

10 years agoGtkWidget: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 03:08:28 +0000 (23:08 -0400)]
GtkWidget: Use _gtk_builder_lookup_object

10 years agoGtkSizeGroup: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 03:08:07 +0000 (23:08 -0400)]
GtkSizeGroup: Use _gtk_builder_lookup_object

10 years agoGtkInfoBar: Add a test for 'invalid ID'
Matthias Clasen [Tue, 28 Apr 2015 03:07:48 +0000 (23:07 -0400)]
GtkInfoBar: Add a test for 'invalid ID'

10 years agoGtkInfoBar: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 03:06:06 +0000 (23:06 -0400)]
GtkInfoBar: Use _gtk_builder_lookup_object

10 years agoGtkDialog: Add a test for 'invalid ID'
Matthias Clasen [Tue, 28 Apr 2015 03:05:49 +0000 (23:05 -0400)]
GtkDialog: Add a test for 'invalid ID'

10 years agoGtkDialog: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 03:03:01 +0000 (23:03 -0400)]
GtkDialog: Use _gtk_builder_lookup_object

10 years agoGtkContainer: Add a test for 'invalid ID'
Matthias Clasen [Tue, 28 Apr 2015 03:01:46 +0000 (23:01 -0400)]
GtkContainer: Add a test for 'invalid ID'

...and add all the container tests to Makefile.am

10 years agoGtkContainer: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 02:59:20 +0000 (22:59 -0400)]
GtkContainer: Use _gtk_builder_lookup_object

10 years agoGtkBuilder: Report 'invalid ID' errors
Matthias Clasen [Tue, 28 Apr 2015 02:56:53 +0000 (22:56 -0400)]
GtkBuilder: Report 'invalid ID' errors

Look for a stashed GError after calling custom_tag_end,
custom_finished or parser_finished vfuncs, and report
them up.

10 years agoGtkBuilder: Add new convenience API
Matthias Clasen [Tue, 28 Apr 2015 02:54:25 +0000 (22:54 -0400)]
GtkBuilder: Add new convenience API

Add a convenience function that is like gtk_builder_get_object()
but stashes away a GError if a lookup fails. To make the error
message informative, the function takes a line/column pair.

Doing things this way is necessary because the custom_tag_end,
custom_finished, and parser_finished vfuncs don't take a
GError parameter, despite being called from a place where
we can report a GError back.

10 years agoGtkBuilder: Document private convenience API
Matthias Clasen [Tue, 28 Apr 2015 02:53:42 +0000 (22:53 -0400)]
GtkBuilder: Document private convenience API

10 years agoGtkBuilder: Add an error code for 'invalid ID'
Matthias Clasen [Tue, 28 Apr 2015 02:52:03 +0000 (22:52 -0400)]
GtkBuilder: Add an error code for 'invalid ID'

This is in preparation for reporting such errors through GError.

10 years agoAdjust affected tests
Matthias Clasen [Mon, 27 Apr 2015 23:21:45 +0000 (19:21 -0400)]
Adjust affected tests

10 years agoGtkLabel: Prefix more ui parser errors
Matthias Clasen [Mon, 27 Apr 2015 23:20:29 +0000 (19:20 -0400)]
GtkLabel: Prefix more ui parser errors

This may become useful in gnome-builder for highlighting errors,
so do it consistently.

10 years agoFormatting fixes
Matthias Clasen [Mon, 27 Apr 2015 23:16:41 +0000 (19:16 -0400)]
Formatting fixes

10 years agoAdd gtk-builder-tool.c to POTFILES.in
Matthias Clasen [Mon, 27 Apr 2015 22:55:14 +0000 (18:55 -0400)]
Add gtk-builder-tool.c to POTFILES.in

10 years agoAdd a man page for gtk-builder-tool
Matthias Clasen [Mon, 27 Apr 2015 22:51:46 +0000 (18:51 -0400)]
Add a man page for gtk-builder-tool

10 years agoTranslate error messages
Matthias Clasen [Mon, 27 Apr 2015 22:39:22 +0000 (18:39 -0400)]
Translate error messages

10 years agoDo validation before simplification
Matthias Clasen [Mon, 27 Apr 2015 22:25:09 +0000 (18:25 -0400)]
Do validation before simplification

Use GtkBuilder to parse the file first, and report any errors
it finds before using our own simple-minded parser to simplify.

10 years agoAdd a simple commandline tool for ui files
Matthias Clasen [Sun, 19 Apr 2015 01:03:52 +0000 (21:03 -0400)]
Add a simple commandline tool for ui files

This tool strips properties which are set to their
default value from .ui files.

10 years agogdkkeys: Add support to _get_scroll_lock_state()
Fabiano Fidêncio [Tue, 14 Apr 2015 11:25:38 +0000 (13:25 +0200)]
gdkkeys: Add support to _get_scroll_lock_state()

GdkKeymap already has support for _get_num_lock_state() and
_get_caps_lock_state(). Adding _get_scroll_lock_state() would be good
for completness and some backends (Windows?) could take advantage of
this.

10 years agogtk-encode-symbolic-svg: Mark all strings for translation
Matthias Clasen [Mon, 27 Apr 2015 22:56:16 +0000 (18:56 -0400)]
gtk-encode-symbolic-svg: Mark all strings for translation

A few error messages were missing.

10 years agoHC: include a missing sass function
Jakub Steiner [Mon, 27 Apr 2015 22:33:17 +0000 (00:33 +0200)]
HC: include a missing sass function

- used in the color widget

10 years agoUpdated POTFILES.skip
Piotr Drąg [Mon, 27 Apr 2015 18:15:05 +0000 (20:15 +0200)]
Updated POTFILES.skip

10 years agostylecontext: Clear style property more frequently
Benjamin Otte [Mon, 27 Apr 2015 17:15:43 +0000 (19:15 +0200)]
stylecontext: Clear style property more frequently

We want to clear the style property cache whenever things change in the
tree, not as we previously did only when those changes actually lead to
a different CSS style.

10 years agoHC: tone down backdrop for gtk switches
Jakub Steiner [Mon, 27 Apr 2015 15:33:40 +0000 (17:33 +0200)]
HC: tone down backdrop for gtk switches

https://bugzilla.gnome.org/show_bug.cgi?id=746925

10 years agoHAVE_MONITOR_INFO is always defined
Jose Rostagno [Mon, 20 Apr 2015 00:51:46 +0000 (21:51 -0300)]
HAVE_MONITOR_INFO is always defined

https://bugzilla.gnome.org/show_bug.cgi?id=748156

10 years agodrop old compat code, BITMAPV5HEADER is defined on vista+
Jose Rostagno [Mon, 20 Apr 2015 00:44:03 +0000 (21:44 -0300)]
drop old compat code, BITMAPV5HEADER is defined on vista+

https://bugzilla.gnome.org/show_bug.cgi?id=748156

10 years agoWM_CLIPBOARDUPDATE is always define on vista+
Jose Rostagno [Sun, 19 Apr 2015 23:17:53 +0000 (20:17 -0300)]
WM_CLIPBOARDUPDATE is always define on vista+

https://msdn.microsoft.com/en-us/library/windows/desktop/ms649021%28v=vs.85%29.aspx

https://bugzilla.gnome.org/show_bug.cgi?id=748156

10 years agoSimplify code a bit after xp support drop
Jose Rostagno [Sun, 19 Apr 2015 23:04:53 +0000 (20:04 -0300)]
Simplify code a bit after xp support drop

https://bugzilla.gnome.org/show_bug.cgi?id=748156

10 years agobuild: Avoid xgettext crash on MSYS2
Daiki Ueno [Thu, 23 Apr 2015 00:42:45 +0000 (09:42 +0900)]
build: Avoid xgettext crash on MSYS2

isatty() on MSYS2 returns non-zero if the fd is stdout and is redirected
to /dev/null.  That lets xgettext to produce colorized output and leads
to an assertion failure during terminal type detection.

Although the problem should be fixed in MSYS2, isatty() could behave
wrongly in many ways on Windows.  Since gtk+ doesn't need colorized
output, it would be safer to bypass the terminal dependent code.

See also:
https://lists.gnu.org/archive/html/bug-gettext/2015-04/msg00004.html

https://bugzilla.gnome.org/show_bug.cgi?id=748346

10 years agogdk: don't segfault on beep with offscreen window
Christian Hergert [Wed, 22 Apr 2015 23:35:29 +0000 (16:35 -0700)]
gdk: don't segfault on beep with offscreen window

https://bugzilla.gnome.org/show_bug.cgi?id=748341

10 years agodocs: Fix incorrect cross-reference to GtkSearchBar
Kai Willadsen [Sun, 26 Apr 2015 21:49:28 +0000 (07:49 +1000)]
docs: Fix incorrect cross-reference to GtkSearchBar

https://bugzilla.gnome.org/show_bug.cgi?id=748500

10 years agoFix the build
Matthias Clasen [Mon, 27 Apr 2015 10:15:28 +0000 (06:15 -0400)]
Fix the build

There was one too many dialog test cases in the Makefile.

https://bugzilla.gnome.org/show_bug.cgi?id=748509

10 years agoAdjust builder tests
Matthias Clasen [Mon, 27 Apr 2015 02:55:31 +0000 (22:55 -0400)]
Adjust builder tests

Some errors are now returned as markup errors instead of builder
errors. Adjust the tests for this.

10 years agoGtkTreeStore: Use the new helpers
Matthias Clasen [Sun, 26 Apr 2015 14:32:05 +0000 (10:32 -0400)]
GtkTreeStore: Use the new helpers

Use the new GtkBuilder helpers and g_markup_collect_attributes
in all builder subparsers.

10 years agoGtkListStore: Use the new helpers
Matthias Clasen [Sun, 26 Apr 2015 14:30:15 +0000 (10:30 -0400)]
GtkListStore: Use the new helpers

Use the new GtkBuilder helpers and g_markup_collect_attributes
in all builder subparsers.

10 years agoGtkComboBoxText: Use the new helpers
Matthias Clasen [Sun, 26 Apr 2015 14:26:07 +0000 (10:26 -0400)]
GtkComboBoxText: Use the new helpers

Use the new GtkBuilder helpers and g_markup_collect_attributes
in all builder subparsers.

10 years agoAdjust existing tests
Matthias Clasen [Sun, 26 Apr 2015 00:51:56 +0000 (20:51 -0400)]
Adjust existing tests

10 years agoGtkWindow: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:37:31 +0000 (19:37 -0400)]
GtkWindow: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoGtkWidget: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:37:02 +0000 (19:37 -0400)]
GtkWidget: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoGtkSizeGroup: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:36:39 +0000 (19:36 -0400)]
GtkSizeGroup: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoGtkRecentFilter: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:36:09 +0000 (19:36 -0400)]
GtkRecentFilter: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for the infobar builder parser
Matthias Clasen [Mon, 27 Apr 2015 03:03:05 +0000 (23:03 -0400)]
Add tests for the infobar builder parser

10 years agoGtkInfoBar: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:35:22 +0000 (19:35 -0400)]
GtkInfoBar: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for the GtkFileFilter builder parser
Matthias Clasen [Sun, 26 Apr 2015 19:24:11 +0000 (15:24 -0400)]
Add tests for the GtkFileFilter builder parser

10 years agoGtkFileFilter: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:34:34 +0000 (19:34 -0400)]
GtkFileFilter: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for the GtkDialog builder parser
Matthias Clasen [Sun, 26 Apr 2015 19:03:03 +0000 (15:03 -0400)]
Add tests for the GtkDialog builder parser

10 years agoGtkDialog: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 23:33:52 +0000 (19:33 -0400)]
GtkDialog: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for GtkLevelBar builder parser
Matthias Clasen [Sun, 26 Apr 2015 15:45:21 +0000 (11:45 -0400)]
Add tests for GtkLevelBar builder parser

10 years agoGtkLevelBar: Use the new helpers
Matthias Clasen [Sat, 25 Apr 2015 15:22:10 +0000 (11:22 -0400)]
GtkLevelBar: Use the new helpers

Instead of issuing g_warning, fill the provided GError.
This lets us test this error handling, and is the right
thing to do. Use the new GtkBuilder helpers and
g_markup_collect_attributes to do so.

10 years agoAdd tests for GtkContainer builder parser
Matthias Clasen [Sun, 26 Apr 2015 03:58:08 +0000 (23:58 -0400)]
Add tests for GtkContainer builder parser